﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace TB_RACE_APP
{
    public partial class frmSettings : Form
    {
        public frmSettings()
        {
            InitializeComponent();
        }

        private void frmSettings_Load(object sender, EventArgs e)
        {
            // TODO: check if there is an existing config file and load contents
        }

        private void btnParticipantAdd_Click(object sender, EventArgs e)
        {
            frmParticipant frmParticipantDialog = new frmParticipant();
            frmParticipantDialog.ShowDialog();
        }

        private void btnApply_Click(object sender, EventArgs e)
        {
            // TODO: validate & commit information to disk
        }

        private void btnTrackableAdd_Click(object sender, EventArgs e)
        {
            frmTrackable frmTrackableDialog = new frmTrackable();
            frmTrackableDialog.ShowDialog();
        }
    }
}
